Rma Stdev BandsStandard Deviation support resistances with percent boxes.
The Relative Moving Average isn’t a well-known moving average. But TradingView uses this average with two popular indicators: the Relative Strength Index (RSI) and Average True Range (ATR)
The weighting factors that the Relative Moving Average uses decrease exponentially. That way recent bars have the highest weight, while earlier bars get smaller weights the older they are.
"support resistance" için komut dosyalarını ara
R-Smart - Relative Strength On observing the market for years I learned that Relative Strength will help us in staying invested in strong bullish stocks (relative to primary indices of your country, in my case it's Nifty 50 for India). Once you identify a strong stock, it's important to know if the stock is trending and is in momentum. To identify, trends and momentum, I used ADX and MACD indicators respectively as part of the R-Smart.
In R-Smart, I used Relative Strength primarily to plot the chart, if the Histogram is positive (greater than 0) then the security is bullish. But then how do we know that it's in trend and having momentum. Well the below color code will help you identify them
1. Histogram in Green : Strong Bullish
2. Histogram in Blue : Weak Bullish
3. Histogram in Orange: Bearish
Apart from the above indicator, I would like to use Super Trend to know the immediate support/resistances on the chart.
# StayInvested
# StayProfitable
# ManageYourRisk
+ ATR Support and ResistanceThis, a very different script from most of mine, is my attempt at making a useful, and not messy, support and resistance indicator. If you've never looked into trader xkavalis, and his scripts and discord, I would highly recommend it. He talks about "pay attention candles" a lot. It got me thinking about what those are. Best as I can tell all he means by that phrase is large, impulsive candles. Sometimes these lead to break outs of ranges, or they may signal tops, bottoms, or near-tops and bottoms. The only way I could make sense of this in a mathematical way was by using the average true range. Basically, any candle's true range outside of the ATR is considered a "pay attention candle," by my definition.
This script originally began as just a candle coloring exercise with some optional shapes plotted above/below certain candles, but I quickly realized I wanted to draw lines or zones from these candles, so eventually, after many hours spent figuring out and learning 'line.new' and 'box.new' I got things sorted.
Essentially, my line of thinking is that on impulsive candles down, the origin of the impulse is more important than the close (not always of course, as there are no unbreakable rules in what markets can do), and with impulsive candles up, the same theory applies.
So, for upward impulsive candles I've marked out the zone from the open to the low as a support (until broken, in which case it may become resistance). For downward impulsive candles the zone encompasses the open to the high. I've given the option to plot a line from the close for all of these. It's turned off by default as it's just less stuff on the chart, but you may like it.
The line length is customizable in a menu. It does funny things on low timeframes on forex and stock charts (long lines that result in chart compression), but for some reason very rarely on crypto charts. If someone who is smart (not me) and has much experience with pinescript could perhaps help me out with a fix for this, that would be great. I suspect it has something to do with my "bar_index_duration" that I defined using the time function, but I'm not sure how or why.
Line length on time frames of one hour and up it is typically fine.
Use the ATR multiple to change the sensitivity of the indicator. This is basically the determination of when a candle is beyond the ATR. A multiple of two is two times the ATR. With lower volatile pairs you can maybe make this lower. On lower time frames or with more volatile pairs (illiquid alts in particular) a higher multiple might serve better. I find the default 1.75 is mostly acceptable.
As I started this I also thought adding some sort of volume information to the candles might be useful as well, so I added a simple candle coloring feature referencing the OBV and a 21 period EMA. Candles are colored based on the OBV's relation to its moving average.
I added some plot shapes and candle coloring utilizing the RSI as well. Options to turn on or off shapes plotted for overbought and oversold across the top of the chart. The most interesting feature that I implemented here is a support/resistance zone around the centerline of the RSI. If the RSI is between 49 and 51 then you can have optional candle coloring, shapes plotted above the candles, and s/r zones drawn on the chart. In trending markets the centerline of the RSI will frequetly act as support or resistance, so by being alerted of this condition on the chart you can use that with actual levels marked off in order to help make a judgement on a trade. I think it's a nice addition, and an oft overlooked aspect of the usefulness of the RSI.
I've also included a calculation, with candle coloring and/or plot shapes, for something like a stop run on high volume. The calculation for that is in its section below, and should be pretty self explanatory.
Lastly, typing this as I'm posting it, this indicator could also be useful for helping to find placement for trailing a stop. Just a thought!
RSI Support & Resistance by DGTRSI Sᴜᴘᴘᴏʀᴛ & Rᴇꜱɪꜱᴛᴀɴᴄᴇ ʙʏ DGT
This experimental study attempts to translate Relative Strength Index (RSI) threshold levels of oversold/overbought and bull/bear zones as probable Price Support and Resistance levels
█ OPTIONS
Support & Resistance Levels , the main aim of the study. Level calculations are based on Relative Strength Index (RSI) threshold levels of oversold/overbought and bull/bear zones, where all threshold values are customizable through the user dialog box. Background of the levels can be colored optionally
RSI Weighted Colored Bars and/or Mark Overbought/Oversold Bars , Bar colors can be painted to better emphasis RSI values. Darker colors when the oscillator is in oversold/overbought zones, light colors when oscillator readings are below/above the bull/bear zone respectively, and remain unchanged otherwise. Besides the colors, with “Display RSI Overbought/Oversold Price Bars” option little triangle shapes can be plotted on top or bottom of the bars when RSI is in oversold/overbought zones
Example usage of the study with explanations
█ OTHERS
More regarding Support & Resistance concept (definition, identifying levels, trading S&R, etc) you are kindly invited to check my previous publication
Price Action - Support & Resistance by DGT
More regarding Relative Strength Index (RSI) and Relative Strength of Volume Indicators , please check Relative Strength of Volume Indicators by DGT
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
[PX] Session LevelHello guys,
this scripts prints the high and low as well as the moving average of a user-defined session.
How does it work?
Basically, as soon as we are in the session range, the indicator will constantly keep track of the high and the low of this range. It also prints the moving average, which can either be a floating or a static line, that represents the latest MA value.
The indicator comes with multiple options to style the printed lines.
If you find this indicator useful, please leave a "like" and hit that "follow" button :)
Have fun and happy trading :)))
P.S: Check my signature if you want to get in touch with me.
Trade Manager (Open Source Version)Hello my young padawans looking for the FORCE to get richer on your next trade
I got pinged at least three times today asking where the hell is the indicator of the day. You asked, I delivered :)
Here's your free open-source Trade Manager Version. My associates might kill me for sharing that one... anyway this is a real GIFT.
I won't share such quality indicators too often for FREE so hope you'll appreciate its value. It can really help with your day to day trading (on top of making your charts looking more awesome)
This is an even better version compared to my previous Trade Manager Trade-Manager . It's basically a standalone version, meaning you'll have to update with 2 lines your own indicator and follow my educational post from yesterday (pasted it below also) to learn how to do it
Please read this educational post I published for you before proceeding further : How-to-connect-your-indicator-with-the-Trade-Manager
From here you normally connected the data source of your own indicator to the Trade Manager. If not, here's a reminder of the article mentionned above
Step 1 - Update your indicator
For the screenshot you see above, I used this indicator : Two-MM-Cross-MACD/ . "But sir are you really advertising your other indicators here ??" ... hmmm.... YES but I gave them for free so ... stop complaining my friend :)
Somewhere in the code you'll have a LONG and a SHORT condition. If not, please go back to study trading for noobs (I'm kidding !!!)
So it should look to something similar
nUP = ma_crossover and macd_crossover
nDN = ma_crossunder and macd_crossunder
What you will need to add at the very end of your script is a Signal plot that will be captured by the Trade Manager. This will give us :
// Signal plot to be used as external
// if crossover, sends 1, otherwise sends -1
Signal = (nUP) ? 1 : (nDN) ? -1 : na
plot(Signal, title="Signal")
The Trade Manager engines expects to receive 1 for a bullishg signal and -1 for bearish .
Step 2 - Add the Trade Manager to your chart and select the right Data Source
I feel the questions coming so I prefer to anticipate :) When you add the Trade Manager to your chart, nothing will be displayed. THIS IS NORMAL because you'll have to select the Data Source to be "Signal"
Remember our Signal variable from the Two MM Cross from before, now we'll capture it and.....drumb rolll...... that's from that moment that your life became even more AWESOME
The Engine will capture the last signal from the MM cross or any indicator actually and will update the Stop Loss, Take Profit levels based on the parameters you set on the Trade Manager
It should work with any indicator as long as you're providing a plot Signal with values 1 and -1 . In any case, you can change the Trade Manager you'll find a better logic for your trading
Now let's cover the different parameters of the tool
It should be straightforward but better to explain everything here
+Label lines : if unchecked, no SL/TPs/... will be displayed
+Show Stop Loss Signal : Will display the stop loss label. You have the choice between three options :
By default, the Stop Loss is set to NONE. You'll have to select a different option to enable the Stop Loss for real
++Percentage : Will set the SL at a percent distance from the price
++Fixed : SL fixed at a static price
++Trailing % : Trailing stop loss based on percentage level
The following is a KEY feature and I got asked for it many times those past two days. I got annoyed of getting the same request so I just did it
++Trailing TP: Will move the Stop Loss if the take profit levels are hit
Example: if TP1 is hit, SL will be moved to breakeven. If TP2 is hit, SL will be moved from TP1 to TP2
+Take Profit 1,2,3 : Visually define the three Take Profit levels. Those are percentage levels .
Meaning if you set TP1 = 2, it will set the TP1 level 2% away from the entry signal
Please note that once a Take profit level is reached, it will magically disappear. This is to be expected
I'll share in the future a way more complete version with invalidation, stop loss/take profits based on indicator, take profit based on supports/resistances, ...
I believe is such a great tool because can be connected to any indicator. I confess that I tried it only with a few... if you find any that's not working with the Trade manager, please let me know and I'll have a look
PS
I want to give a HUUUUUUUGE shoutout to the PineCoders community who helped me finishing it
Wishing you all the best and a pleasant experience with my work
David
Volume Profile Free Pro (25 Levels Value Area VWAP) by RRBVolume Profile Free Pro by RagingRocketBull 2019
Version 1.0
All available Volume Profile Free Pro versions are listed below (They are very similar and I don't want to publish them as separate indicators):
ver 1.0: style columns implementation
ver 2.0: style histogram implementation
ver 3.0: style line implementation
This indicator calculates Volume Profile for a given range and shows it as a histogram consisting of 25 horizontal bars.
It can also show Point of Control (POC), Developing POC, Value Area/VWAP StdDev High/Low as dynamically moving levels.
Free accounts can't access Standard TradingView Volume Profile, hence this indicator.
There are 3 basic methods to calculate the Value Area for a session.
- original method developed by Steidlmayr (calculated around POC)
- classical method using StdDev (calculated around the mean VWAP)
- another method based on the mean absolute deviation (calculated around the median)
POC is a high volume node and can be used as support/resistance. But when far from the day's average price it may not be as good a trend filter as the other methods.
The 80% Rule: When the market opens above/below the Value Area and then returns/stays back inside for 2 consecutive 30min periods it has 80% chance of filling VA (like a gap).
There are several versions: Free, Free Pro, Free MAX. This is the Free Pro version. The Differences are listed below:
- Free: 30 levels, Buy/Sell/Total Volume Profile views, POC
- Free Pro: 25 levels, +Developing POC, Value Area/VWAP High/Low Levels, Above/Below Area Dimming
- Free MAX: 50 levels, packed to the limit
Features:
- Volume Profile with up to 25 levels (3 implementations)
- POC, Developing POC Levels
- Buy/Sell/Total/Side by Side View modes
- Side Cover
- Value Area, VAH/VAL dynamic levels
- VWAP High/Low dynamic levels with Source, Length, StdDev as params
- Show/Hide all levels
- Dim Non Value Area Zones
- Custom Range with Highlighting
- 3 Anchor points for Volume Profile
- Flip Levels Horizontally
- Adjustable width, offset and spacing of levels
- Custom Color for POC/VA/VWAP levels and Transparency for buy/sell levels
Usage:
- specify max_level/min_level for a range (required in ver 1.0/2.0, auto/optional in ver 3.0 = set to highest/lowest)
- select range (start_bar, range length), confirm with range highlighting
- select mode Value Area or VWAP to show corresponding levels.
- flip/select anchor point to position the buy/sell levels, adjust width and spacing as needed
- select Buy/Sell/Total/Side by Side view mode
- use POC/Developing POC/VA/VWAP High/Low as S/R levels. Usually daily values from 1-3 days back are used as levels for the current day.
- Green - buy volume of a specific price level in a range, Red - sell volume. Green + Red = Total volume of a price level in a range
There's no native support for vertical histograms in Pinescript (with price axis as base)
Basically, there are 4 ways to plot a series of horizontal bars stacked on top of each other:
1. plotshape style labeldown (ver 0 prototype discarded)
- you can have a set of fixed width/height text labels consisting of a series of underscores and moving dynamically as levels. Level offset controls visible length.
- you can move levels and scale the base width of the volume profile histogram dynamically
- you can calculate the highest/lowest range values automatically. max_level/min_level inputs are optional
- you can't fill the gaps between levels/adjust/extend width, height - this results in a half baked volume profile and looks ugly
- fixed text level height doesn't adjust and looks bad on a log scale
- fixed font width also doesn't scale and can't be properly aligned with bars when zooming
2. plot style columns + hist_base (ver 1.0)
- you can plot long horizontal bars using a series of small adjacent vertical columns with level offsets controlling visible length.
- you can't hide/move levels of the volume profile histogram dynamically on each bar, they must be plotted at all times regardless - you can't delete the history of a plot.
- you can't scale the base width of the volume profile histogram dynamically, can't set show_last from input, must use a preset fixed width for each level
- hist_base can only be a static const expression, can't be assigned highest/lowest range values automatically - you have to specify max_level/min_level manually from input
- you can't control spacing between columns - there's an equalizer bar effect when you zoom in, and solid bars when you zoom out
- using hist_base for levels results in ugly load/redraw times - give it 3-5 sec to finalize its shape after each UI param change
- level top can be properly aligned with another level's bottom producing a clean good looking histogram
- columns are properly aligned with bars automatically
3. plot style histogram + hist_base (ver 2.0)
- you can plot long horizontal bars using a series of small vertical bars (horizontal histogram) instead of columns.
- you can control the width of each histogram bar comprising a level (spacing/horiz density). Large enough width will cause bar overlapping and give level a "solid" look regardless of zoom
- you can only set width <= 4 in UI Style - custom textbox input is provided for larger values. You can set width and plot transparency from input
- this method still uses hist_base and inherits other limitations of ver 2.0
4. plot style lines (ver 3.0)
- you can also plot long horizontal bars using lines with level offsets controlling visible length.
- lines don't need hist_base - fast and smooth redraw times
- you can calculate the highest/lowest range values automatically. max_level/min_level inputs are optional
- level top can't be properly aligned with another level's bottom and have a proper spacing because line width uses its own units and doesn't scale
- fixed line width of a level (vertical thickness) doesn't scale and looks bad on log (level overlapping)
- you can only set width <= 4 in UI Style, a custom textbox input is provided for larger values. You can set width and plot transparency from input
Notes:
- hist_base for levels results in ugly load/redraw times - give it 3-5 sec to finalize its shape after each UI param change
- indicator is slow on TFs with long history 10000+ bars
- Volume Profile/Value Area are calculated for a given range and updated on each bar. Each level has a fixed width. Offsets control visible level parts. Side Cover hides the invisible parts.
- Custom Color for POC/VA/VWAP levels - UI Style color/transparency can only change shape's color and doesn't affect textcolor, hence this additional option
- Custom Widh for levels - UI Style supports only width <= 4, hence this additional option
- POC is visible in both modes. In VWAP mode Developing POC becomes VWAP, VA High and Low => VWAP High and Low correspondingly to minimize the number of plot outputs
- You can't change buy/sell level colors (only plot transparency) - this requires 2x plot outputs exceeding max 64 limit. That's why 2 additional plots are used to dim the non Value Area zones
- Use Side by Side view to compare buy and sell volumes between each other: base width = max(total_buy_vol, total_sell_vol)
- All buy/sell volume lengths are calculated as % of a fixed base width = 100 bars (100%). You can't set show_last from input
- Sell Offset is calculated relative to Buy Offset to stack/extend sell on top of buy. Buy Offset = Zero - Buy Length. Sell Offset = Buy Offset - Sell Length = Zero - Buy Length - Sell Length
- If you see "loop too long error" - change some values in UI and it will recalculate - no need to refresh the chart
- There's no such thing as buy/sell volume, there's just volume, but for the purposes of the Volume Profile method, assume: bull candle = buy volume, bear candle = sell volume
- Volume Profile Range is limited to 5000 bars for free accounts
P.S. Cantaloupia Will be Free!
Links on Volume Profile and Value Area calculation and usage:
www.tradingview.com
stockcharts.com
onlinelibrary.wiley.com
[naoligo] Pivot Points (Daily)Suporte/Resistência do Pivot diário para gráficos intraday
Marcação do S/R tradicional e S/R Fibonacci
Daily Pivot Point Support/Resistances on intraday charts
Both Traditional and Fibonacci methods plotted
TATARI YENTatari's trend strategy:
First analyze weekly and daily looking for supports, resistances, patterns, H&S, and so on, just to have the idea about direction and borders.
If we have a good idea abou the market direction let's go to look for some opportunities in that direction with TATARI.
Time frame 4H: find a signal to open postion, at the same direction of Week and Day.
Time frame 1H: we open the position accordin to the 4H signal.
( regular multi time frame strategy so far).
Let's have a look how TATARI works.
Uptrend starts with blue and green crosses, doesn't matter if green or blu. If the first cross is blue open the position the candle after the green cross. If the first is a green cross open the first candle after the blue cross.
Downtrend starts with blue and red cross, doesn't matter if first blu or red.
Open when the trend starts and use as stop loss the green line for uptrend or the red line for downtrend.
When the silver spots appear there is a supertrend, it's time to move SL to the last swing.
Close the position when a new blue cross appears and the following cross is the other color you used to open the position. ( Usually SL is already hit)
The gray areas are for lateral market, feel free to use stoc. and BB.
SOFT Canal BAS + alertes (extend future, offset)SOFT Parallel Channel (Base Support) with Alerts
This indicator allows you to define a parallel price channel based on the lower support line, extended into the future, with clean and reliable touch alerts.
The channel is defined using two historical anchor points (date/time + price) on the support line.
The upper boundary is automatically calculated using a fixed channel height.
Key Features
📐 Channel based on the LOWER line (support)
➡️ Extended into the future using extend.right
🔔 Alerts on touch of:
Lower channel (support)
Upper channel (resistance)
🧼 Anti-spam alerts (only one alert per touch)
⏱️ Optional confirmation on bar close
🎚️ Vertical offset control (move the entire channel up or down using input arrows)
👀 Optional visual labels (SUP / RES), disabled by default
How It Works
Select two points on the lower channel line
(date/time + price for Point 1 and Point 2).
Set the channel height (in Nasdaq points).
Optionally adjust the vertical offset to fine-tune the channel position.
Create TradingView alerts on:
Touch Support
Touch Resistance
Recommended Settings (Nasdaq M15 / M30)
Channel height: 200 – 400 points
Touch tolerance: 3 – 10 points
Alerts: On close + one alert per touch (cleanest behavior)
Important Notes
The channel becomes visible once TradingView has loaded the historical bars containing both anchor points.
This script does not read manual drawing tools (TradingView limitation).
The channel is fully calculated and drawn by the script itself.
No repainting: the channel geometry is fixed once defined.
Use Cases
Trend channels
Dynamic support / resistance
Mean reversion trades
Alert-based discretionary trading
SOFT – Stéphane Olivier Fabrice Trading
Designed for clean charts, precise alerts, and practical trading use.
MRG VWAP CompleteMRG VWAP Complete - Indicator Description
📊 Overview
MRG VWAP Complete is a professional all-in-one VWAP indicator that combines two powerful volume-weighted average price tools into a single, highly customizable solution. This indicator provides traders with both anchored VWAP with deviation bands and a weekly VWAP that resets every Sunday, offering comprehensive price analysis across multiple timeframes.
🎯 Key Features
Dual VWAP System
Standard VWAP: Highly configurable with multiple anchor periods and deviation bands
Weekly VWAP: Automatically resets every Sunday for swing trading strategies
Option to display both simultaneously or independently
Standard VWAP Capabilities
Multiple Anchor Periods:
Session (Daily)
Week / Month / Quarter / Year
Decade / Century
Corporate Events: Earnings / Dividends / Splits
Customizable Parameters:
Source selection (HLC3, Close, Open, etc.)
Hide on 1D timeframes and above
Offset adjustment
Custom color and line thickness (1-5)
Advanced Deviation Bands System
Three Independent Band Levels:
Each band can be enabled/disabled individually
Customizable multipliers for each level
Independent color selection for each band
Optional fill toggle for each band
Two Calculation Modes:
Standard Deviation: Traditional statistical approach
Percentage: Distance calculated as percentage of VWAP value
Visual Customization:
✅ Enable/disable band fills independently
🎨 Choose any color for each band
📏 Transparent fills (95% opacity) for clear price action visibility
🎯 Clean chart display with only desired elements
Weekly VWAP Features
Resets automatically every Sunday
Customizable source input
Independent color and line width settings
Perfect for identifying weekly trends and key levels
⚙️ Complete Parameter List
Display Options
Show/Hide Standard VWAP
Show/Hide Weekly VWAP
Standard VWAP Settings
Anchor Period selection
Source selection
Hide on 1D or above option
Offset value
VWAP color
VWAP line width (1-5)
Bands Settings
Calculation mode (Standard Deviation / Percentage)
Band #1: Enable, Multiplier, Color, Fill toggle
Band #2: Enable, Multiplier, Color, Fill toggle
Band #3: Enable, Multiplier, Color, Fill toggle
Weekly VWAP Settings
Weekly VWAP color
Weekly VWAP line width (1-5)
Source selection
📈 Strategic Applications
Mean Reversion Trading
Use deviation bands to identify overbought/oversold conditions
Enter trades when price reaches outer bands
Target VWAP for exits
Trend Confirmation
Price above VWAP = Bullish bias
Price below VWAP = Bearish bias
Weekly VWAP confirms longer-term trend direction
Support & Resistance
VWAP acts as dynamic support/resistance
Deviation bands provide multiple levels for entries/exits
Weekly VWAP identifies major swing levels
Multi-Timeframe Analysis
Combine Standard VWAP (intraday) with Weekly VWAP (swing)
Identify confluence zones where both VWAPs align
Spot divergences between short-term and weekly trends
Breakout Trading
Monitor price action around VWAP levels
Trade breakouts through deviation bands
Weekly VWAP breaks signal strong momentum
💡 Advantages
✨ All-in-One Solution: No need for multiple VWAP indicators
⏱️ Time-Saving: Pre-configured with professional settings
🎯 Precision: Multiple anchor periods for different trading styles
🎨 Fully Customizable: Every visual element can be adjusted
📊 Clean Charts: Toggle fills on/off for optimal visualization
🔄 Automatic Updates: Both VWAPs update in real-time
📱 Universal: Works on all timeframes and instruments
🎓 Ideal For
Trading Styles
Day Trading (M1, M5, M15)
Swing Trading (H1, H4, D1)
Scalping strategies
Position trading
Markets
Forex (XAUUSD, EUR/USD, GBP/USD, etc.)
Indices (US30, NAS100, SPX500)
Cryptocurrencies
Commodities
Stocks
Strategies
VWAP mean reversion
Trend following
Breakout trading
Volume-weighted support/resistance
Institutional order flow analysis
🔧 Recommended Settings
For Day Trading (M5-M15)
Standard VWAP: Anchor = Session
Band #1: Multiplier 1.0, Fill ON
Band #2: Multiplier 2.0, Fill OFF
Weekly VWAP: Enabled for major levels
For Swing Trading (H1-H4)
Standard VWAP: Anchor = Week
Band #1: Multiplier 1.5, Fill ON
Band #2: Multiplier 2.5, Fill ON
Weekly VWAP: Primary level for trend confirmation
For Scalping (M1-M5)
Standard VWAP: Anchor = Session
Band #1: Multiplier 0.5, Fill ON
Band #2: Multiplier 1.0, Fill OFF
Weekly VWAP: Disabled for cleaner chart
📊 Understanding the Bands
Band Multiplier = 1.0
Contains ~68% of price action (1 standard deviation)
Primary mean reversion zone
Band Multiplier = 2.0
Contains ~95% of price action (2 standard deviations)
Strong overbought/oversold signal
Band Multiplier = 3.0
Contains ~99.7% of price action (3 standard deviations)
Extreme reversal zones
🎯 Trading Tips
Confluence Trading: Enter when price touches a deviation band AND Weekly VWAP
Trend Confirmation: Only take long trades above both VWAPs, shorts below both
Band Rejection: Watch for candle rejections at outer bands for reversal signals
Volume Confirmation: Strong moves should break bands with high volume
Time of Day: VWAP is most reliable during high-volume sessions
📌 Important Notes
VWAP resets based on anchor period selection
Weekly VWAP uses Sunday as the start of the week
Deviation bands require sufficient volume data
Best used in combination with other technical analysis tools
Not a standalone trading system - use proper risk management
🚀 Why Choose MRG VWAP Complete?
✅ Professional Grade: Used by institutional traders
✅ Maximum Flexibility: Adapt to any trading style
✅ Visual Clarity: Customizable colors and fills
✅ Dual Perspective: Intraday + weekly analysis combined
✅ Easy to Use: Intuitive parameter organization
✅ Performance Optimized: Efficient code for smooth charting
Master volume-weighted price analysis with the most complete VWAP indicator available! 📊🚀
💼 Perfect For Professional Traders
Whether you're a retail trader or institutional analyst, MRG VWAP Complete provides the tools you need to:
Identify fair value zones
Spot institutional order flow
Time entries with precision
Manage risk effectively
Trade with the smart money
Elevate your VWAP trading to the next level! 💎
5MA + TrendMagic + Disparity Scalping + Volume Spikes5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.
eBacktesting: MultieBacktesting: Multi is an all-in-one chart toolkit built for structured day-trading study: multi-timeframe levels, “clean” movement zones, session context, bias, candle normalization, gaps, and a powerful alert system — all from one indicator.
What it can show on your chart
1) Multi-timeframe Support/Resistance (S/R) markup
- Detects and plots S/R levels from up to 8 configurable timeframes (mix HTF + LTF).
- Optional labeling styles: Simple, Type (S/R), or Directional.
- Optional price labels next to levels.
- Levels cleanup (decongestion): hides clustered levels to keep the chart readable
- Grouping: can group timeframes that share the same level into a single line.
- Level invalidation: levels can disappear after X passthroughs (with a “getting weaker” dashed style when close to invalidation).
2) Psychological levels (round numbers)
- Automatically draws round-number lines at a practical interval (with optional manual interval control).
- Has smart defaults for common markets (e.g., indices, BTC, metals).
3) Levels heatmap
- Shows level density as shaded “pressure areas”: areas where an agglomeration of S/R levels are present
- Can be simple or persisted (so you can study where price repeatedly reacts)
4) Repeated levels highlight
- Highlights “same area again” levels using a tolerance setting.
- Can require same direction (support with support / resistance with resistance) or allow any direction.
5) LTAs (Low Traffic Areas)
- Marks “air pockets” between levels where price can travel fast.
- Can be built from:
- S/R spacing (between detected levels), or
- Candle sequences (clean directional runs).
- Optional filters:
- By how “untouched” the boundary levels are (passthrough filter)
- By number of candles
- By size (points)
6) Clean zones (candle-based)
- Detects strong same-direction runs and boxes them as “clean zones” for study and backtesting practice.
7) Session Bias
- Computes a bias score from selected timeframes and shows it as a %.
- Can be weighted, inverted weight, or not weighted across timeframes (e.g. HTF candles having more weight towards bias calculation).
- Optional color coded “bias candles” overlay + option to dim weak candles so the signal is clearer.
- Alert when bias flips bullish/bearish/neutral.
8) Candles tools
- Smooth candles: removes candle gaps by drawing candles with open = previous close (useful for price action analysis).
- Ghost current candle: de-emphasizes the still-forming candle until it’s near completion (useful for not going in FOMO).
- Highlight no-wick candles: helps spot strong displacement / clean opens/closes.
- Snap candles: rounds candles to a chosen interval (ATR % or fixed), for cleaner structure reading.
- Optional candle stats: ATR & Average candle size
- Candle score: rates the last candle’s strength (body/wicks/size + context), useful for quick quality checks.
- Gaps: highlights unfilled gaps and optionally removes them once filled.
9) Sessions
- Up to 4 customizable sessions, each with its own color and optional background highlight.
- Option to hide candles outside session hours (great for focused session study).
10) Notifications
- Before session start alerts (X minutes early).
- Before session end alerts (X minutes early).
- Closing beyond detected S/R levels
- Closing beyond custom prices: type your prices (one per line)
- Proximity allowance + “advance notice” option for getting notified 30s/1m/5m before the candle closes based on your preferences
- Timer alerts (“check chart every X minutes”) with a custom message template.
eBacktesting integration (the important part)
This indicator fully integrates with the eBacktesting extension to automatically detect “important moments” during backtesting, so it can auto-pause, tag, and allow you to practice them step-by-step.
- When bias changed
- When a candle closed beyond an automatically detected S/R level
- When a candle closed beyond your custom price
- When new LTAs & clean zones are detected or invalidated
These indicator is built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
Supertrend Nova Cloud [Pineify]Supertrend Nova Cloud
Overview
The Supertrend Nova Cloud is a sophisticated trend-following system designed to filter market noise and provide clear, actionable insights into market direction and volatility. By combining two distinct Supertrend calculations—the fast-acting "Nova" and the slower, more robust "Nebula"—this indicator creates a dynamic "Cloud" that visualizes the strength and stability of the current trend. It is engineered to help traders identify strong trending periods, potential pullbacks, and major reversals with greater confidence than a single Supertrend indicator.
Key Features
Dual-Trend Architecture: Utilizes a two-layer approach with a Fast (Nova) and Slow (Nebula) Supertrend to define market structure.
Dynamic Nova Cloud: A visual gradient fill between the two trendlines that adjusts its intensity ("Glow") based on the spread between the trends, representing market volatility.
Smart Candle Coloring: Candles are colored based on the consensus between the two trends, clearly distinguishing between strong trends, pullbacks, and recovery phases.
High-Quality Signals: Buy and Sell signals are filtered and only generated when the major (Slow) trend reverses, reducing false signals during chop.
Real-time Dashboard: An on-chart dashboard displays the current state of both the Nova and Nebula trends for instant analysis.
How It Works
The Supertrend Nova Cloud operates on the principles of Average True Range (ATR) volatility to determine trend direction.
Nova (Fast Trend): Calculated using a shorter ATR length (default 10) and a lower multiplier (default 2.0). This line reacts quickly to price changes, serving as an early warning system or trailing stop for aggressive entries.
Nebula (Slow Trend): Calculated using a longer ATR length (default 20) and a higher multiplier (default 4.0). This line defines the overall market bias and acts as significant support/resistance.
Cloud Gradient Logic: The script calculates the absolute difference (delta) between the Nova and Nebula lines. It compares this delta to its recent historical maximum to determine the opacity of the fill color. A wider spread (higher volatility) results in a brighter, more opaque cloud, while a narrow spread (consolidation) results in a more transparent cloud.
How multiple indicators work together
In trading, a single trend indicator often faces a dilemma: if it's too fast, it gives false signals; if it's too slow, it lags significantly. The Supertrend Nova Cloud solves this by combining both:
The Fast Supertrend captures immediate momentum and provides potential re-entry points during strong trends.
The Slow Supertrend acts as a filter. The script logic enforces that major reversal signals ("NOVA BUY/SELL") are only triggered when this slower, dominant trend changes direction.
By requiring the Slow trend to confirm the reversal, the indicator filters out the "noise" that would typically whip-saw a standard Supertrend.
Trading Ideas and Insights
Trend Riding: When the Cloud is fully Green (Strong Bull) or Red (Strong Bear), and the candles match this color, the trend is established. These are ideal conditions for holding positions.
Pullback Opportunities: If the candles turn a lighter shade (e.g., light red during an uptrend), it indicates the price has broken the Fast trend but holds above the Slow trend. This "Mixed" state often represents a buying opportunity in an uptrend (or selling in a downtrend).
Volatility Expansion: A widening cloud (brighter glow) indicates expanding volatility and often accompanies a strong breakout or trend acceleration.
Unique Aspects
Visual Volatility Feedback: Unlike standard fills, the "Nova Cloud" uses a custom algorithm to adjust transparency based on the relative distance between the two trendlines. This gives traders an intuitive sense of market expansion and contraction.
Nuanced State Detection: The script doesn't just show Up or Down. It identifies four states: Strong Bull, Strong Bear, Fast Bull/Slow Bear (Recovery), and Fast Bear/Slow Bull (Pullback), coding the candles accordingly.
How to Use
Entry: Look for "NOVA BUY" or "NOVA SELL" labels. These appear when the major trend (Nebula) flips, confirming a significant shift in market structure.
Stop Loss: The Nebula (thick) line serves as a robust trailing stop loss. As long as price holds beyond this line, the macro trend remains intact.
Re-Entry/Pyramiding: During a strong trend, if price dips into the cloud (changing candle color to mixed/neutral) and then resumes the trend color, it can be a valid re-entry signal.
Customization
Users can fully customize the indicator via the settings menu:
Nova & Nebula Settings: Adjust the ATR Length and Factor for both the Fast and Slow trends to tune sensitivity for different timeframes or assets.
Visuals: Toggle the Dashboard, Candle Coloring, and customize the colors for Bullish, Bearish, and Neutral states.
Conclusion
The Supertrend Nova Cloud offers a comprehensive visual interface for trend traders. By harmonizing two time horizons of volatility analysis into a single, cohesive display, it simplifies decision-making and helps traders stay on the right side of the major trend while identifying granular opportunities within it.
TrendlinesTrendline S&R
This indicator is an automated technical analysis tool designed to identify the most relevant Support and Resistance (S&R) zones based on market pivots. Unlike standard pivot indicators that clutter the chart with historic lines, this script uses a "Closest-to-Price" algorithm to display only the single most relevant Support (Green) and Resistance (Red) zone currently interacting with price action.
It solves common frustrations with automated trendlines—specifically the issue of lines disappearing immediately upon a breakout—by introducing a Stability Buffer.
Key Features & Importance
The script scans hundreds of potential trendlines but only draws the one geographically closest to the current price.
Importance: This ensures you are looking at the zone that matters right now. It filters out distant or irrelevant historic lines, keeping your chart clean and focused on immediate price action.
🛡️ 5-Bar Stability Buffer (Anti-Flicker)
Feature: A hardcoded 5-bar "memory" prevents the zone from disappearing the moment price touches or breaks it.
Importance: This is critical for trading breakouts. It allows you to see the zone persist while price breaches it, helping you distinguish between a true breakout, a fakeout, or a retest, without the reference level vanishing from your screen.
🔍 Dynamic Pivot Filtering
Feature: Uses a restricted Pivot Strength (5-15) and Minimum Confirmation (2-8 touches).
Importance: By enforcing these limits, the indicator ignores insignificant market noise and micro-swings, ensuring that drawn zones represent structural market levels with genuine liquidity.
🔔 Integrated Alert System
Feature: Built-in alerts for "Zone Breakout" (candle close crossing the zone) and "Zone Touch" (wick entering the zone).
Importance: Allows you to set the indicator and walk away. You will be notified instantly when price interacts with these key levels, removing the need to stare at the chart.
📉 Adaptive Tolerance (Fixed ATR)
Feature: Uses a fixed ATR multiplier internally to determine the width of the zone.
Importance: This automatically adjusts the thickness of the support/resistance zone based on the asset's volatility.
Settings Guide
Bars to Apply: How far back in history the script looks for pivots (Default: 300).
Pivot Source: Choose between calculating from "High/Low" (wicks) or "Close" (bodies).
Pivot Strength: The number of bars required on each side to define a swing point (Range: 5–15).
Min Pivot Confirmation: The minimum number of touches required to validate a trendline (Range: 2–8).
How to Use
Add the indicator to your chart.
Adjust Pivot Strength if you want to catch smaller swings (lower number) or major structures (higher number).
Set an alert in TradingView by clicking the "Clock" icon, selecting this indicator, and choosing "Zone Breakout" or "Zone Touch".
Range Indicator Golden Pocket, Liquidity, FairValueGapOverview
This indicator is a comprehensive institutional market structure toolkit. It is designed to identify high-probability reversal zones by merging three powerful technical analysis concepts: Fibonacci Golden Pockets (61.8% - 65%), Liquidity Pool Analysis (Swing Failure Patterns), and Fair Value Gaps (FVG). By automating the detection of price inefficiencies and "stop runs," it helps traders navigate complex price action with objective, rule-based confirmation.
What the Script Does
The script continuously monitors a user-defined lookback period to define a trading range. Within this range, it dynamically plots:
Golden Pockets: High-confluence retracement zones (calculated as 0.35 - 0.382 internal range levels).
Liquidity Zones: Highlighted regions at the absolute high and low (Top/Bottom 5%) where institutional orders and retail stops are typically concentrated.
Swing Failure Patterns (SFP): Real-time detection of liquidity grabs where price breaches a range extreme but fails to close outside, signaling a potential trap.
Fair Value Gaps (FVG): Visualizes 3-candle price imbalances, showing areas of aggressive buying or selling that often act as future magnets or support/resistance.
2-Candle Confirmation: A momentum-based filter requiring a candle-close confirmation before a reversal signal is generated.
For Whom is it?
Smart Money Concepts (SMC) & ICT Students: Traders looking for automated liquidity sweeps and market inefficiencies.
Fibonacci & Mean Reversion Traders: Those seeking a clean, professional visualization of the Golden Pocket across multiple timeframes.
Systematic Day Traders: Who require strict price-action confirmation (SFP and 2-candle rules) to remove emotional bias from their entries.
Functions and Input Options
1. Market Structure & Visuals
Lookback Period (Default: 100): Defines the window for calculating the range extremes.
Box Offset Right (Default: 50): Extends all zones into the future for better anticipatory trading.
Show Price Lines & Labels: Displays the exact price for every zone boundary on the right axis for precise execution.
2. Fair Value Gap (FVG) Settings
Show Fair Value Gaps: A toggle to enable/disable the plotting of price imbalances.
FVG Extension (Default: 10): Determines how many bars into the future the FVG box remains visible.
Custom Colors: Separate color inputs for Bullish (Gap Up) and Bearish (Gap Down) inefficiencies.
3. Professional Alert System
The script includes five specific alert conditions:
GP Touch: Early warning when price enters a Golden Pocket.
2-Candle Pattern: Confirmed momentum shift within a Golden Pocket.
SFP Long/Short: Alerts when a Liquidity Grab (Swing Failure) is confirmed at the range high or low.
Transparency and Compliance (Moderator Info)
Non-Repainting Logic: All signals (SFP, 2-Candle, and FVG) are calculated and triggered based on confirmed candle closes. Drawings use barstate.islast purely for visual efficiency without altering historical data integrity.
Educational Context: The script visualizes well-known market principles (Fibonacci, SFPs, and FVGs) to aid traders in their analysis; it does not provide automated financial advice or "black-box" buy/sell signals.
Resource Management: Optimized for Pine Script v5, using efficient array and box handling to ensure smooth performance even on lower timeframes.
Multi-Timeframe Levels (Daily & Weekly)// ═══════════════════════════════════════════════════════════════════════════════
// 📊 MULTI-TIMEFRAME LEVELS INDICATOR
// ═══════════════════════════════════════════════════════════════════════════════
//
// ┌─────────────────────────────────────────────────────────────────────────────┐
// │ 🎯 LEVEL COLORS & MEANING │
// ├─────────────────────────────────────────────────────────────────────────────┤
// │ 🟡 YELLOW (PDH/PDL) = Previous Day High/Low - PRIMARY intraday S/R │
// │ 🟣 PURPLE (PD2H/PD2L) = 2 Days Ago High/Low - SECONDARY confluence │
// │ 🔴 RED (PWH/PWL) = Previous Week High/Low - MAJOR swing levels │
// └─────────────────────────────────────────────────────────────────────────────┘
//
// ═══════════════════════════════════════════════════════════════════════════════
// ⚡ SCALPING STRATEGY (1-5 min charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 ENTRY ZONES:
// • Look for price entering 🟡 YELLOW zones (PDH/PDL)
// • Best setups: Price rejects from zone with strong candle pattern
// • Extra confirmation: Zone overlaps with 🟣 PURPLE (confluence)
//
// ✅ BUY SCALP:
// 1. Price touches PDL zone (yellow) from above
// 2. Wait for bullish rejection candle (hammer, engulfing)
// 3. Enter long with stop below the zone
// 4. Target: Mid-range or PDH zone
//
// ❌ SELL SCALP:
// 1. Price touches PDH zone (yellow) from below
// 2. Wait for bearish rejection candle (shooting star, engulfing)
// 3. Enter short with stop above the zone
// 4. Target: Mid-range or PDL zone
//
// 💡 SCALP TIPS:
// • Avoid trading THROUGH zones - wait for rejection
// • Tighter stops when trading during high volume (9:30-11:00 AM)
// • Skip setups if price is choppy inside the zone
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📈 SWING TRADING STRATEGY (15min - Daily charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 HIGH PROBABILITY ZONES:
// • 🔴 RED zones (PWH/PWL) = Primary swing entries
// • Best setups: 🔴 RED + 🟡 YELLOW confluence (weekly + daily align)
// • Monster setups: All 3 colors stack at same price area
//
// ✅ SWING LONG:
// 1. Price drops into PWL zone (red) - weekly support
// 2. Bonus: PDL (yellow) is nearby = confluence
// 3. Wait for daily/4H bullish reversal pattern
// 4. Enter with stop below the zone cluster
// 5. Target: PWH or next major resistance
//
// ❌ SWING SHORT:
// 1. Price rallies into PWH zone (red) - weekly resistance
// 2. Bonus: PDH (yellow) is nearby = confluence
// 3. Wait for daily/4H bearish reversal pattern
// 4. Enter with stop above the zone cluster
// 5. Target: PWL or next major support
//
// 💡 SWING TIPS:
// • Weekly levels (red) have highest reversal probability
// • More confluence = higher win rate, use larger position
// • Let winners run when breaking through weekly levels
//
// ═══════════════════════════════════════════════════════════════════════════════
// 🚀 BREAKOUT STRATEGY
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 BREAKOUT SIGNALS:
// • Price closes ABOVE PDH/PWH with volume = Bullish breakout
// • Price closes BELOW PDL/PWL with volume = Bearish breakout
//
// ✅ TRADING BREAKOUTS:
// 1. Wait for candle CLOSE beyond the level (not just wick)
// 2. Volume should be above average
// 3. Enter on retest of broken level (now becomes support/resistance)
// 4. Stop: Below/above the breakout candle
//
// ⚠️ AVOID FALSE BREAKOUTS:
// • Don't chase - wait for pullback to broken level
// • Skip if breakout happens on low volume
// • Be cautious of breakouts into higher timeframe zones
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📋 QUICK REFERENCE
// ═══════════════════════════════════════════════════════════════════════════════
//
// │ Level │ Color │ Best For │ Hold Time │ Stop Size │
// ├──────────┼────────┼─────────────────┼──────────────┼─────────────┤
// │ PDH/PDL │ 🟡 │ Scalps/Day │ Minutes-Hours│ Tight │
// │ PD2H/PD2L│ 🟣 │ Confluence │ Hours │ Medium │
// │ PWH/PWL │ 🔴 │ Swings │ Days-Weeks │ Wide │
//
// 🔥 GOLDEN RULE: Never fight the weekly level (red) - it's the boss!
//
// ═══════════════════════════════════════════════════════════════════════════════
Squeeze ChannelSqueeze Channel
Volatility compression is one of the most reliable precursors to significant price movement. When markets consolidate, energy builds—like a coiled spring waiting to release. This indicator detects these compression phases using the classic squeeze methodology, then captures the consolidation range as a tradeable channel. The tighter the squeeze, the more potential energy stored for the eventual breakout.
What makes this approach effective is the combination of volatility-based timing with price structure. Rather than blindly trading every squeeze release, the indicator defines clear breakout levels based on the actual swing highs and lows formed during compression. This creates objective entry triggers while the squeeze intensity gradient (yellow → red) helps gauge the quality of the setup before committing.
How It Works
Squeeze Detection
The indicator identifies periods of volatility compression when Bollinger Bands contract inside Keltner Channels. A 5-color gradient (yellow → orange → red) visualizes squeeze intensity in real-time—the tighter the squeeze, the closer to red.
Channel Formation
When a squeeze begins, the indicator captures a swing high/low channel:
- Lookback : Grabs the highest high and lowest low over the past N bars
- Lookforward : Allows the channel to expand if price exceeds bounds in the first few bars
- Lock : Once the expansion window closes, the channel locks in place
The channel persists until price breaks out, regardless of whether the squeeze has ended.
Signal Types
Primary Signals
Bullish Breakout | 🔼 Teal Triangle | Close above channel high
Bearish Breakout | 🔽 Red Triangle | Close below channel low
Failed Breakout Reversals
When enabled, the indicator watches for failed breakouts—price breaks one direction then reverses through the opposite channel bound.
Bull Reversal | 💎 Cyan Diamond | Failed bear breakout, reclaims above
Bear Reversal | 💎 Magenta Diamond | Failed bull breakout, breaks below
Extended S/R Retest Signals
After a breakout, channel levels are stored as support/resistance for future retests. These levels remain invisible until price approaches within a user-defined ATR distance.
S/R Bull Breakout | 🔼 Faded Triangle | Breaks above extended resistance
S/R Bear Breakout | 🔽 Faded Triangle | Breaks below extended support
S/R Bull Reversal | 💎 Faded Diamond | Reclaims extended support
S/R Bear Reversal | 💎 Faded Diamond | Rejected at extended resistance
Settings
Squeeze Detection
- Bollinger Length (default: 12) — Shorter length = tighter bands, easier squeeze entry
- Bollinger Multiplier (default: 2.0)
- Keltner Length (default: 20)
- Keltner ATR Multiplier (default: 2.0) — Higher = wider channel, easier squeeze entry
Channel Settings
- Swing Lookback Bars (default: 5) — Bars to look back for initial channel
- Swing Lookforward Bars** (default: 3) — Bars to allow channel expansion
Reversal Detection
- Enable Failed Breakout Reversal — Toggle reversal signals on/off
- Reversal Watch Bars (default: 7) — How long to watch for failed breakout
Extended S/R
- Show Extended S/R Levels — Display historical channel levels
- Enable S/R Retest Signals — Toggle retest signals on/off
- Extended Level Bars (default: 50) — How long levels remain active
- S/R Signal Delay Bars (default: 5) — Delay before retest signals activate (filters noise)
- ATR Proximity Threshold (default: 1.0) — Distance for level visibility
- ATR Length (default: 14)
Visual Guide
- Colored dots = Active squeeze channel (gradient shows intensity)
- Fuchsia dots = Channel waiting for breakout (squeeze ended)
- Faded teal/red dots = Extended S/R levels (appear on proximity)
- Triangles = Breakout signals
- Diamonds = Reversal signals (failed breakouts)
Support and Resistance (High Volume Boxes) [ChartPrime]# 📘 OPERATING MANUAL: Massive Order Spike Detector (v1.0)
## 1. PURPOSE OF THE TOOL
The **Massive Order Spike Detector** is a quantitative analysis tool designed to isolate volume anomalies. By utilizing **Standard Deviation (σ)**, it identifies the exact moments when order flow exceeds statistical norms, signaling institutional intervention ("Smart Money"), high-frequency trading (HFT) activity, or market climax events.
---
## 2. TECHNICAL SPECIFICATIONS & INPUTS
The indicator calculates the ratio between current volume and its historical volatility to define "extreme" participation.
### **Configuration Settings**
* **Volume Spike Multiplier (x σ):** *Default: **4.0***
* *Function:* Sets the sensitivity threshold. A value of 4.0 triggers a signal only if the current volume is 4 times the standard deviation of the lookback period.
* **StDev Lookback Length:** *Default: **200***
* *Function:* Defines the sample size (number of bars) used to establish the "baseline" or "normal" volume.
---
## 3. SIGNAL INTERPRETATION PROTOCOL
The indicator generates real-time visual signals on the price chart:
| Signal | Graphic Icon | Technical Condition | Market Sentiment |
| :--- | :--- | :--- | :--- |
| **Massive Buy Spike** | 🟢 Lime Triangle (Below) | Vol ≥ 4σ + Close > Open | Extreme buying pressure. Potential accumulation or aggressive breakout. |
| **Massive Sell Spike** | 🔴 Red Triangle (Above) | Vol ≥ 4σ + Close < Open | Extreme selling pressure. Potential distribution or panic selling. |
---
## 4. OPERATIONAL PROCEDURES (STRATEGIES)
### **A. Breakout Validation (Trend Following)**
* **Context:** Price is testing a key Support/Resistance or a consolidation zone.
* **Trigger:** A Spike appears (Lime for Long / Red for Short) as the level is breached.
* **Execution:** The signal confirms that institutional volume is backing the move. High probability of trend continuation.
### **B. Exhaustion Climax (Mean Reversion)**
* **Context:** Price is in an extended trend (overbought/oversold).
* **Trigger:** A Spike appears in the direction of the trend, but the candle features a long wick (rejection) or a small body.
* **Execution:** This indicates a "Blow-off Top" or "Selling Climax." Traders should look to take profits or prepare for a reversal once market structure shifts.
---
## 5. ALERT MANAGEMENT
To ensure no institutional moves are missed, follow this setup for TradingView notifications:
1. Open the **"Create Alert"** panel in TradingView.
2. Select **"Massive Order Spike Detector"** as the condition.
3. Set frequency to: **"Once Per Bar Close"** (to prevent false triggers during mid-candle volatility).
4. The automated message includes the **Normalized Volume** value to gauge the magnitude of the spike.
---
## 6. RISK WARNINGS & BEST PRACTICES
⚠️ **Macro Events:** During high-impact news (e.g., NFP, CPI), spikes are common but highly volatile. Use wider stop losses or avoid entry during the first 5 minutes.
⚠️ **Low Liquidity Assets:** On "thin" charts, a 4.0 multiplier may trigger too often. Increase the multiplier to **6.0+** for better accuracy.
⚠️ **Confluence:** Never trade a spike in isolation. Always align signals with Price Action (Support/Resistance) or Trend Filters (e.g., 200 EMA).
MATATABI SP Ver.1Specifications & Features
This indicator is a comprehensive tool designed to monitor trend inception (Squeeze), key reversal zones (Smart SR), and market context (Range Analysis) on a single chart. It is updated for Pine Script v6.
1. 10 Moving Averages (MA)
Spec: Displays a total of 10 Moving Averages.
Defaults: All set to EMA (Exponential Moving Average) with periods 20, 25, 30, 35, 40, 45, 50, 55, 60, 65 (increments of 5).
Customization: Period, type (SMA, EMA, SMMA, WMA), color, and width for each line can be adjusted in the settings.
Visibility: MA01-MA08 are visible by default; MA09-MA10 are hidden by default.
2. MA Squeeze Detection Alert
Feature: Detects when all 10 MAs contract (cluster together) and flatten out, indicating potential energy buildup for a move.
Behavior: No background color change on the chart; it functions purely as an Alert condition configurable in TradingView.
Logic: Triggered when the spread between the highest and lowest MA is below a specific ATR threshold AND the slope of the longest MA is near zero.
3. Smart Support & Resistance (Smart SR)
Zone Display: Draws Support/Resistance as zones (bands) rather than thin lines. The width adapts automatically based on volatility (ATR).
Auto-Removal on Break: When price breaks through a zone, the line stops extending to the right automatically. This ensures only currently active/unbroken levels remain visible on the chart.
Significance Filter: Filters out minor noise, using a longer Pivot length (15) to identify only significant peaks and troughs. It also prevents drawing duplicate zones near existing ones.
Multi-Timeframe (MTF): Can display SR zones from a higher timeframe (e.g., 4H SR on a 15m chart) alongside current timeframe zones.
4. Range Analysis
Range Detection: Visualizes consolidation areas (boxes) based on price deviation and volume analysis.
Info Dashboard: Displays a table (top-right) showing the range strength and a statistical "Directional Probability (Bullish/Bearish %)" for the potential breakout.
Breakout Signals: Highlights the box border and triggers alerts when price breaks out of the detected range.
仕様と特徴
このインジケーターは、トレンドの初動(スクイーズ)、重要な反発ポイント(レジサポ)、**現在の相場環境(レンジ解析)**を1つのチャートで監視するための複合ツールです。Pine Script v6に対応しています。
1. 10本の移動平均線 (MA)
仕様: 合計10本の移動平均線を表示します。
初期設定: すべて**EMA(指数平滑移動平均線)**で、期間は 20, 25, 30, 35, 40, 45, 50, 55, 60, 65(5刻み)に設定されています。
カスタマイズ: 各ラインの期間、種類(SMA, EMA, SMMA, WMA)、色、太さは設定画面から変更可能です。
表示制御: MA01〜MA08はデフォルトで表示、MA09〜MA10は非表示設定です。
2. MA収縮(スクイーズ)検知アラート
特徴: 10本のMAが密集し、かつ傾きが平坦になった状態(エネルギーが溜まっている状態)を検知します。
動作: チャートの背景色は変更せず、アラート通知のみを行う仕様です(設定画面でアラート条件を作成可能)。
判定ロジック: 「MA全体の最大幅がATRの一定倍率以下」かつ「長期MAの傾きがほぼゼロ」の場合に検知します。
3. スマート・レジサポ (Smart Support & Resistance)
ゾーン表示: 単なる線ではなく、価格帯(ゾーン)として描画されます。幅はボラティリティ(ATR)に基づいて自動調整されます。
ブレイクで自動消去: 価格がゾーンを実体でブレイク(上抜け/下抜け)すると、そのラインは「役割を終えた」と判断され、右側への延長が自動的に停止します。これにより、チャート上には「現在有効なレジサポ」のみが残ります。
重要度フィルター: 小さな値動きを除外し、目立つ山や谷(Pivot期間15)のみを抽出して描画します。また、既存のラインと近い場合は重複して描画しません。
マルチタイムフレーム (MTF): 現在足のレジサポに加え、上位足(例: 15分足チャートに4時間足のレジサポ)を同時に表示可能です。
4. レンジ解析 (Range Analyzer)
レンジ検出: 価格の乱高下と出来高を分析し、レンジ相場をボックスで可視化します。
情報テーブル: チャート右上に、レンジの強度や、過去の統計に基づいた**「ブレイク方向の確率(強気/弱気 %)」**を表示します。
ブレイクアウト: レンジを抜けた際に、ボックスの色を変化させ、アラートを通知します。
DuoBlocks - ICT Order Block detectorDuoBlocks (ICT Order Block Detector)
(An ICT(Inner Circle Trading)-style Order Block(OB) tool that highlights only the most relevant and recent Demand/Supply zones using FVG and Engulfing based OB sources.)
Overview
DuoBlocks is an ICT-inspired Order Block detector that uses the mostly used two major order block types: FVG(Fair Value Gap) or Engulfing. There are many Order Block indicators out there, but I couldn’t find one that consistently highlights the most relevant, most recent OB relative to the current price without making the chart a mess and that's why so I built this script.
FVG-based OB (FVG-OB): OBs derived from 3-candle fair value gap logic.
Engulfing-based OB (Engulfing-OB): OBs derived from strong 2-candle reversal/displacement (engulf) logic.
Usage
FVG-OB (Fair Value Gap Order Blocks)
This script finds bullish/bearish FVGs and draws an Order Block zone from the candle that created the move. Think of these zones as your potential next support (bullish) and resistance (bearish) levels.
Engulfing-OB (Engulfing Order Blocks)
This script also finds strong bullish/bearish engulfing candles and draws an Order Block zone from the candle that got engulfed.
Same idea: treat them as potential next support (bullish) and resistance (bearish) levels.
**Use these zones like “next level” support/resistance areas. Don’t blindly buy/sell—wait for your own confirmation and manage risk properly.
Settings
Show FVG-OB
Toggle display of the selected FVG-based bullish/bearish OB (one per side).
Show Engulfing-OB
Toggle display of the selected Engulfing-based bullish/bearish OB (one per side).
Max Invalidation Attempts (FVG OB or Engulf OB)
Controls how many separate breach events a stored OB can absorb before it is marked invalid (discarded). The counting happens when either of below occurs.
Bullish OB: price prints a low below the OB bottom.
Bearish OB: price prints a high above the OB top.
Each time this happens, the OB’s invalidation counter increments by +1.
Once the counter reaches your Max Attempts, that OB is flagged as no longer live, so it will stop being eligible for selection. Then the script automatically falls through to the next best/next nearest valid OB in memory.
Right Extend (bars)
How far to extend the selected OB boxes to the right.
Lookback bars
Maximum historical bars scanned for detection. Lower values = faster/cleaner, higher values = more history retained.
Max stored OB per side
Maximum stored bullish and bearish OBs in memory (per source).
Bullish/Bearish OB Color
Controls border/midline coloring for bullish and bearish zones.
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice or investment recommendations. Trading cryptocurrencies and other financial instruments involves significant risk, and you are solely responsible for your own decisions based on your financial situation, objectives, and risk tolerance. The author assumes no liability for losses arising from the use of this indicator.
RSI Fibonacci Flow [JOAT]RSI Fibonacci Flow - Advanced Fibonacci Retracement with RSI Confluence
Introduction
RSI Fibonacci Flow is an open-source overlay indicator that combines automatic Fibonacci retracement levels with RSI momentum analysis to identify high-probability trading zones. The indicator automatically detects swing highs and lows, draws Fibonacci levels, and generates confluence signals when RSI conditions align with key Fibonacci zones.
This indicator is designed for traders who use Fibonacci retracements but want additional confirmation from momentum analysis before entering trades.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and Fibonacci tools. It is an original implementation that creates a synergistic relationship between two complementary analysis methods:
Why Combine RSI with Fibonacci? Fibonacci retracements identify WHERE price might reverse, but they don't tell you WHEN. RSI provides the timing component by showing momentum exhaustion. When price reaches the Golden Zone (50%-61.8%) AND RSI shows oversold conditions, the probability of a successful bounce increases significantly.
Original Confluence Scoring System: The indicator calculates a 0-5 confluence score that weights multiple factors: Golden Zone presence (+2), entry zone presence (+1), RSI extreme alignment (+1), RSI divergence (+1), and strong RSI momentum (+1). This scoring system is original to this indicator.
Automatic Pivot Detection: Unlike manual Fibonacci tools, this indicator automatically detects swing highs and lows using a configurable pivot algorithm, then draws Fibonacci levels accordingly. The pivot detection uses a center-bar comparison method that checks if a bar's high/low is the highest/lowest within the specified depth on both sides.
Dynamic Trend Awareness: The indicator determines trend direction based on pivot sequence (last pivot was high or low) and adjusts Fibonacci orientation accordingly. In uptrends, 0% is at swing low; in downtrends, 0% is at swing high.
Each component serves a specific purpose:
Fibonacci levels identify potential reversal zones based on natural price ratios
RSI provides momentum context to filter out low-probability setups
Confluence scoring quantifies setup quality for position sizing decisions
Automatic pivot detection removes subjectivity from level placement
Core Concept: RSI-Fibonacci Confluence
The most powerful trading setups occur when multiple factors align. RSI Fibonacci Flow identifies these moments by:
Automatically detecting price pivots and drawing Fibonacci levels
Tracking which Fibonacci zone the current price occupies
Monitoring RSI for overbought/oversold conditions
Generating signals when RSI extremes coincide with key Fibonacci levels
Scoring confluence strength on a 0-5 scale
When price reaches the Golden Zone (50%-61.8%) while RSI shows oversold conditions in an uptrend, the probability of a bounce increases significantly.
Fibonacci Levels Explained
The indicator draws nine Fibonacci levels based on the most recent swing:
0% (Swing Low/High): The starting point of the move
23.6%: Shallow retracement - often seen in strong trends
38.2%: First significant support/resistance level
50%: Psychological midpoint of the move
61.8% (Golden Ratio): The most important Fibonacci level
78.6%: Deep retracement - last defense before trend failure
100% (Swing High/Low): The end point of the move
127.2% (TP1): First extension target for take profit
161.8% (TP2): Second extension target for take profit
The Golden Zone
The area between 50% and 61.8% is highlighted as the "Golden Zone" because:
It represents the optimal retracement depth for trend continuation
Institutional traders often place orders in this zone
It offers favorable risk-to-reward ratios
Price frequently bounces from this area in healthy trends
When price enters the Golden Zone, the indicator highlights it with a semi-transparent box and optional background coloring.
Pivot Detection System
The indicator uses a configurable pivot detection algorithm:
pivotDetect(float src, int len, bool isHigh) =>
int halfLen = len / 2
float centerVal = nz(src , src)
bool isPivot = true
for i = 0 to len - 1
if isHigh
if nz(src , src) > centerVal
isPivot := false
break
else
if nz(src , src) < centerVal
isPivot := false
break
isPivot ? centerVal : float(na)
This identifies swing highs and lows by checking if a bar's high/low is the highest/lowest within the specified depth on both sides.
Visual Components
1. Fibonacci Lines
Horizontal lines at each Fibonacci level:
Solid lines for major levels (0%, 50%, 61.8%, 100%)
Dashed lines for secondary levels (23.6%, 38.2%, 78.6%)
Dotted lines for extension levels (127.2%, 161.8%)
Color-coded for easy identification
Configurable line width
2. Fibonacci Labels
Price labels at each level showing:
Fibonacci percentage
Actual price at that level
Golden Zone label highlighted
TP1 and TP2 labels for targets
3. Golden Zone Box
A semi-transparent box highlighting the 50%-61.8% zone:
Gold colored border and fill
Extends from swing start to current bar (or beyond if extended)
Provides clear visual of the optimal entry zone
4. ZigZag Lines
Connecting lines between detected pivots:
Cyan for moves from low to high
Orange for moves from high to low
Helps visualize market structure
Configurable line width
5. Pivot Markers
Small labels at detected swing points:
"HH" (Higher High) at swing highs
"LL" (Lower Low) at swing lows
Helps track market structure
6. Entry Signals
BUY and SELL labels when confluence conditions are met:
BUY: RSI oversold + price in entry zone + uptrend + positive momentum
SELL: RSI overbought + price in entry zone + downtrend + negative momentum
Labels include "RSI+FIB" to indicate confluence
Confluence Scoring System
The indicator calculates a confluence score from 0 to 5:
+2 points: Price is in the Golden Zone (50%-61.8%)
+1 point: Price is in the entry zone (38.2%-61.8%)
+1 point: RSI is oversold in uptrend OR overbought in downtrend
+1 point: RSI divergence detected (bullish or bearish)
+1 point: Strong RSI momentum (change > 2 points)
Confluence ratings:
STRONG (4-5): Multiple factors align - high probability setup
MODERATE (2-3): Some factors align - proceed with caution
WEAK (0-1): Few factors align - wait for better setup
Dashboard Panel
The 10-row dashboard provides comprehensive analysis:
RSI Value: Current RSI reading (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
Fib Trend: UPTREND or DOWNTREND based on last pivot sequence
Price Zone: Current Fibonacci zone (e.g., "GOLDEN ZONE", "38.2% - 50%")
Price: Current close price (large text)
Confluence: Score rating with numeric value (e.g., "STRONG (4/5)")
Nearest Fib: Closest key Fibonacci level with price
TP1 (127.2%): First take profit target price
TP2 (161.8%): Second take profit target price
Input Parameters
Pivot Detection:
Pivot Depth: Bars to look back for swing detection (default: 10)
Min Deviation %: Minimum price move to confirm pivot (default: 1.0)
RSI Settings:
RSI Length: Period for RSI calculation (default: 14)
Source: Price source (default: close)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Fibonacci Display:
Show Fib Lines: Toggle Fibonacci lines (default: enabled)
Show Fib Labels: Toggle price labels (default: enabled)
Show Golden Zone Box: Toggle zone highlight (default: enabled)
Line Width: Thickness of Fibonacci lines (default: 2)
Extend Fib Lines: Extend lines into future (default: enabled)
ZigZag:
Show ZigZag: Toggle connecting lines (default: enabled)
ZigZag Width: Line thickness (default: 2)
Signals:
Show Entry Signals: Toggle BUY/SELL labels (default: enabled)
Show TP Levels: Toggle take profit in dashboard (default: enabled)
Show RSI-Fib Confluence: Toggle confluence analysis (default: enabled)
Dashboard:
Show Dashboard: Toggle information panel (default: enabled)
Position: Choose corner placement
Colors:
Bullish: Color for bullish elements (default: cyan)
Bearish: Color for bearish elements (default: orange)
Neutral: Color for neutral elements (default: gray)
Golden Zone: Color for Golden Zone highlight (default: gold)
How to Use RSI Fibonacci Flow
Identifying Entry Zones:
Wait for price to retrace to the 38.2%-61.8% zone
Check if RSI is approaching oversold (for longs) or overbought (for shorts)
Look for STRONG confluence rating in the dashboard
Enter when BUY or SELL signal appears
Setting Take Profit Targets:
TP1 at 127.2% extension for conservative target
TP2 at 161.8% extension for aggressive target
Consider scaling out at each level
Using the Price Zone:
"BELOW 23.6%" - Price hasn't retraced much; wait for deeper pullback
"23.6% - 38.2%" - Shallow retracement; strong trend continuation possible
"38.2% - 50%" - Good entry zone for trend trades
"GOLDEN ZONE" - Optimal entry zone; highest probability
"61.8% - 78.6%" - Deep retracement; trend may be weakening
"78.6% - 100%" - Very deep; trend reversal possible
"ABOVE/BELOW 100%" - Trend has likely reversed
Confluence Trading Strategy:
Only take trades with confluence score of 3 or higher
STRONG confluence (4-5) warrants larger position size
MODERATE confluence (2-3) warrants smaller position size
WEAK confluence (0-1) - wait for better setup
Alert Conditions
Ten alert conditions are available:
RSI-Fib BUY Signal: Strong bullish confluence detected
RSI-Fib SELL Signal: Strong bearish confluence detected
Price in Golden Zone: Price enters 50%-61.8% zone
New Pivot High: Swing high detected
New Pivot Low: Swing low detected
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
Bullish Divergence: Potential bullish RSI divergence
Bearish Divergence: Potential bearish RSI divergence
Strong Confluence: Confluence score reaches 4 or higher
Understanding Trend Direction
The indicator determines trend based on pivot sequence:
UPTREND: Last pivot was a low after a high (expecting move up)
DOWNTREND: Last pivot was a high after a low (expecting move down)
Fibonacci levels are drawn accordingly:
In uptrend: 0% at swing low, 100% at swing high
In downtrend: 0% at swing high, 100% at swing low
Bar Coloring
When confluence features are enabled:
Cyan bars on strong bullish signals
Orange bars on strong bearish signals
Gold-tinted bars when price is in Golden Zone
Best Practices
Use on 1H timeframe or higher for more reliable pivots
Adjust Pivot Depth based on timeframe (higher for longer timeframes)
Wait for price to enter Golden Zone before considering entries
Confirm RSI is in favorable territory before trading
Use extension levels (127.2%, 161.8%) for realistic profit targets
Combine with support/resistance and candlestick patterns
Higher confluence scores indicate higher probability setups
Limitations
Pivot detection has inherent lag (must wait for confirmation)
Fibonacci levels are subjective - different swings produce different levels
Works best in trending markets with clear swings
RSI can remain overbought/oversold in strong trends
Not all Golden Zone entries will be successful
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Fibonacci levels are not guaranteed support/resistance - they are probability zones based on historical price behavior. Always conduct your own analysis and use proper risk management.
- Made with passion by officialjackofalltrades :D






















